package cn.com.nes.mybatis.agent.crm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
    * 报价单
    */
@TableName(value ="opportunity_staff")
@Data
public class OpportunityQuote {
    /**
    * 报价单ID
    */
    @TableId(value = "uuid")
    private String uuid;

    /**
    * 报价单标题
    */
    @TableField(value = "title")
    private String title;

    /**
    * 所属客户
    */
    @TableField(value = "customerId")
    private String customerId;

    /**
    * 所属商机
    */
    @TableField(value = "opportunityId")
    private String opportunityId;

    /**
    * 联系人
    */
    @TableField(value = "contact")
    private String contact;

    /**
    * 报价日期
    */
    @TableField(value = "quoteDate")
    private Date quoteDate;

    /**
    * 有效日期
    */
    @TableField(value = "effectiveDate")
    private Date effectiveDate;

    /**
    * 负责人
    */
    @TableField(value = "personincharge")
    private String personincharge;

    /**
    * 报价金额
    */
    @TableField(value = "quoteMoney")
    private BigDecimal quoteMoney;

    /**
    * 整单折扣
    */
    @TableField(value = "discount")
    private BigDecimal discount;

    /**
    * 预估成本
    */
    @TableField(value = "cost")
    private BigDecimal cost;

    /**
    * 预估毛利
    */
    @TableField(value = "profit")
    private BigDecimal profit;

    /**
    * 备注
    */
    @TableField(value = "memo")
    private String memo;

    /**
    * 创建用户uid
    */
    @TableField(value = "createUid")
    private String createUid;

    /**
    * 创建时间
    */
    @TableField(value = "createTime")
    private Date createTime;

    /**
    * 修改用户uid
    */
    @TableField(value = "modifyUid")
    private String modifyUid;

    /**
    * 修改时间
    */
    @TableField(value = "modifyTime")
    private Date modifyTime;

    /**
    * 是否删除
    */
    @TableField(value = "isdelete")
    private String deleted;

}